package com.zw.demo01.service;

import org.springframework.security.core.Authentication;
import org.springframework.security.core.userdetails.UserDetailsService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName: MyAccessService
 * @Description TODO
 * @Author: zzw
 * @Date: 2023/4/3 22:54
 * @Version 1.0.0
 */
public interface MyAccessService {

    public boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
